package com.whut.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 机型表
 * </p>
 *
 * @author author
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("plane")
@ApiModel(value="PlaneList对象", description="机型表")
public class Plane implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "飞机id")
    @TableField("plane_id")
    private Long planeId;

    @ApiModelProperty(value = "飞机分类")
    @TableField("plane_classify")
    private String planeClassify;

    @ApiModelProperty(value = "飞机名称")
    @TableField("plane_name")
    private String planeName;

    @ApiModelProperty(value = "主轮距离")
    @TableField("main_distance")
    private Float mainDistance;

    @ApiModelProperty(value = "后轮距离")
    @TableField("back_distance")
    private Float backDistance;

    @ApiModelProperty(value = "空机载重量")
    @TableField("weight")
    private Float weight;

    @ApiModelProperty(value = "长")
    @TableField("len")
    private Float len;

    @ApiModelProperty(value = "翼展")
    @TableField("span")
    private Float span;

    @ApiModelProperty(value = "高")
    @TableField("height")
    private Float height;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "删除标记")
    @TableField("del_flag")
    @TableLogic
    private String delFlag;

    @ApiModelProperty(value = "偏移量")
    @TableField(exist = false)
    private String deviation;

}
